<%@ page language="java" import="java.util.*,eb.User"
	pageEncoding="UTF-8"%>
<%
	HttpSession userInfoSession = request.getSession();
	String action = request.getParameter("act");
	if (action == null) {
		action = "edituserinfo";
	}
	userInfoSession.setAttribute("userInfoAction", action);
	User currentUser = (User) userInfoSession.getAttribute("UserInfo");
	String realName = currentUser.GetRealName();
	String sex = currentUser.GetSex();
	String tel = currentUser.GetTel();
	String email = currentUser.GetEmail();
	String address = currentUser.GetAddress();
	String postcode = currentUser.GetPostcode();
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>修改用户信息</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<link href="themes/css/user_manage.css" rel="stylesheet"
			type="text/css">

	</head>

	<body>
		<%@ include file="index_top.jsp"%>
		<div class="container">
			<div class="content">
				<div class="l_24 append_bottom">
					<div class="l_4">
						<div class="user_mg_menu">

							<div class="m_group">
								<div class="head">
									<span>个人设置</span>
								</div>
								<ul>
									<li>
										<a href="change_password.jsp?act=editpassword">修改密码 </a>
									</li>
									<li>
										<a href="edit_user_info.jsp?act=edituserinfo">编辑个人信息</a>
									</li>
								</ul>
							</div>
						</div>

					</div>
					<div class="l_20 last">
						<div class="page_nav">
							个人设置 &gt;&gt; 编辑个人信息
						</div>
						<div class="append_bottom">
							<form id="UserUpdatePassword" name="UserUpdatePassword"
								method="post" action="UserInfoServlet">
								<table class="inputcontainer">
									<tbody>
										<tr>
											<th>
												真实姓名：
											</th>
											<td>
												<%=realName%>
											</td>
										</tr>
										<tr>
											<th>
												性别：
											</th>
											<td>
												<%=sex%>
											</td>
										</tr>
										<tr>
											<th>
												Email邮箱：
											</th>
											<td>
												<%=email%>
											</td>
										</tr>
										<tr>
											<th>
												联系电话：
											</th>
											<td>
												<%=tel%>
											</td>
										</tr>
										<tr>
											<th>
												联系地址：
											</th>
											<td>
												<%=address%>
											</td>
										</tr>
										<tr>
											<th>
												邮政编码：
											</th>
											<td>
												<%=postcode%>
											</td>
										</tr>
									</tbody>
								</table>
							</form>
						</div>
						<div class="clear"></div>
					</div>
				</div>
			</div>
			<!--底部帮助信息-->
			<div class="clear"></div>
		</div>
		<div style="position: relative; width: 100%; text-align: center;">
			<div class="center_">
				<%@ include file="footer.jsp"%>
			</div>
		</div>
	</body>
</html>
